<?php
/* @var $this CategoryController */
/* @var $model Category */

?>

<h3><?php echo Yii::t('category','category_manage');?></h3>
<a href="<?php echo $this->createUrl('/manage/category/create/');?>" class="btn"><?php echo Yii::t('category','分类添加');?></a>

<div id="view"></div>

<?php

 
 $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'category-grid',
	'cssFile'=>false,
	'emptyText'=>'未找到符合条件数据',
	'itemsCssClass'=>'table table-bordered table-hover',
	'dataProvider'=>$model->search(),
	'summaryText'=>"",
// 	'filter'=>$model,
	'columns'=>array(
		'id',
		'name',
		'category_parent.name',
		array(
			'class'=>'application.views.widgets.zii-grid.BButtonColumn',
		)
	),
)); 

?>




